<?php

class PostCleanupSeeder extends Seeder {

	/**
	 * 
	 */
    public function run() 
    {   
        $postIds = [
            "2297",
            "2298",
            "2299",
            "2300",
            "2301",
            "2302",
            "2303",
            "2304",
            "2305",
            "2306",
            "2308",
            "2310",
            "2312",
            "2313",
            "2314",
            "2315",
            "2316",
            "2317",
            "2318",
            "2319",
            "2320",
            "2321",
            "2322",
            "2323",
            "2324",
            "2325",
            "2326",
            "2327",
            "2328",
            "2329",
            "2330",
            "2331",
            "2332",
            "2333",
            "2334",
            "2335",
            "2336",
            "2337"
        ];
        DB::table('posts')->whereIn('id', $postIds)->delete();
        DB::table('post_attach')->whereIn('post_id', $postIds)->delete();
        DB::table('post_extras')->whereIn('post_id', $postIds)->delete();
        DB::table('post_order')->whereIn('post_id', $postIds)->delete();
        DB::table('post_queue')->whereIn('post_id', $postIds)->delete();
    }
}
